package com.kreao.korean.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudyStatistics {
    
    private Long totalStudyCount;
    private Long todayStudyCount;
    private Double averageAccuracy;
    private Double averageResponseTime;
    private Long studyDays;
    private Long totalWords;
    private Long favoriteWords;
    
    // 每日学习统计
    private List<DailyStudyData> dailyStudyData;
    
    // 学习类型统计
    private Map<String, Long> studyTypeStatistics;
    
    // 分类统计
    private Map<String, Long> categoryStatistics;
    
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class DailyStudyData {
        private LocalDate date;
        private Long count;
    }
} 